Skip to content

14 // Adds metadata option to add chunks to metadata #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

stuartjohnpage
Copy link
Collaborator

@stuartjohnpage stuartjohnpage commented Apr 4, 2024

connects to #14

Overview

  • Adds in an option to add additional metadata to every chunk, in the form of a map with a custom key/value
  • Updates the relevant documentation

The thing I don't like about this is the empty metadata property that we now get on chunks. I was toying with either a) doing some fancy macro that can switch up the struct definition, or defaulting it to nil. Or this might actually be a good thing/necessary evil to get the struct definition nice and stable

Either way, please let me know what you think. Is this what you had in mind @gordoneliel?

@stuartjohnpage stuartjohnpage self-assigned this Apr 4, 2024
@quinnmccourt quinnmccourt removed their request for review April 17, 2024 14:06
@stuartjohnpage
Copy link
Collaborator Author

I'm closing this for now, pending discussion in #14

@stuartjohnpage stuartjohnpage deleted the 14-metadata-to-chunk branch January 23, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant